import request from '@/utils/request'

// 查询工位-电枪列表
export function listSet_station_atlas(query) {
  return request({
    url: '/set/stationAtlas/list',
    method: 'get',
    params: query
  })
}

// 查询工位-电枪详细
export function getSet_station_atlas(id) {
  return request({
    url: '/set/stationAtlas/' + id,
    method: 'get'
  })
}

// 新增工位-电枪
export function addSet_station_atlas(data) {
  return request({
    url: '/set/stationAtlas',
    method: 'post',
    data: data
  })
}

// 修改工位-电枪
export function updateSet_station_atlas(data) {
  return request({
    url: '/set/stationAtlas',
    method: 'put',
    data: data
  })
}

// 删除工位-电枪
export function delSet_station_atlas(id) {
  return request({
    url: '/set/stationAtlas/' + id,
    method: 'delete'
  })
}

// 导出工位-电枪
export function exportSet_station_atlas(query) {
  return request({
    url: '/set/stationAtlas/export',
    method: 'get',
    params: query
  })
}
// 下载模板
export function importTemplate() {
  return request({
    url: '/set/stationAtlas/importTemplate',
    method: 'get',
  })
}
